Configuring the CMF Document

To configure a CMF document, follow the procedures described in the following sections.

Creating an ItemType «Parts Warehouse»

  1. Login to Aras innovator and select Administration -> ItemTypes from the TOC.

  1. Create a new ItemType with the name Parts Warehouse. Give "TOC Access" for this item type, set appropriate "Permissions", set "Can Add" identity.

  2. Also add new property "name" for this item type (type: string, length: 32, required: true).

Creating a CMF Content Type

  1. Go to Administration-> Content Modeling -> Content Types. The following menu appears:

Figure 30.

  1. Click Create New Content Type. The following window appears:

Graphical user interface, text, application

Description automatically generated

Figure 31.

  1. Enter the name Parts Warehouse Content Type in the Name field.

  1. Select Parts Warehouse as the Linked Item Type.


Graphical user interface, text, application

Description automatically generated

Figure 32.

  1. Save the Content Type.

Creating CMF Element Types and Properties

  1. Add a new CMF Element by right clicking the Elements folder and selecting Add Element Type from the context menu.

Graphical user interface, text, application, email

Description automatically generated

Figure 33.

The Element Type tab appears.

Graphical user interface, text, application

Description automatically generated

Figure 34.

  1. Enter Zone in the Name field for the newly created Element.

  2. Add a Property Type for this element by clicking the right mouse button on the Zone Element and selecting Add Property Type from the context menu.

Graphical user interface, text, application

Description automatically generated

Figure 35.

  1. The Property Type page appears.

Graphical user interface, application

Description automatically generated

Figure 36.

  1. Select String from the dropdown list in the Data Type field.

  1. Enter Zone Number in the Name field.

  2. Enter 32 in the Data Length field.

Graphical user interface, application

Description automatically generated

Figure 37.

  1. Right click on the Zone element and select Add Child Element Type from the context menu.

Graphical user interface, text, application

Description automatically generated

Figure 38.

  1. Enter Place in the Name field for the Element Type and click Save.

  2. Right click on the Place element and select Add Property Type from the context menu to create a new property type.

  3. Select String in the Data Type field.

  4. Enter Place Number in the Name field.

  5. Enter 32 in the Data Length field.

  6. Click Save.

  1. Right click on the Place element to add a Child Element Type.

Graphical user interface, application

Description automatically generated

Figure 39.

  1. Select Add Child Element Type from the context menu. The Element Type page appears.

Graphical user interface, application

Description automatically generated

Figure 40.

  1. Enter Part Link in the Name field and click Save.

  2. Right click on Part Link and select Add Property Type from the context menu.

  3. Choose String from the dropdown list in the Data Type field.

  4. Enter 32 in the Data Length field and click Save.

Adding Element Binding on a Document Item Type

  1. Right click Part Link and select Add Element Binding from the context menu.

Graphical user interface, application

Description automatically generated

Figure 41.

The Binding element appears, as shown in Figure 42.

Graphical user interface, text, application, email

Description automatically generated

Figure 42.

  1. Select Part as a Referenced Type property.

  2. Select Show Differences from the Tracking Mode dropdown list.

  3. Select Current from the Resolution Mode dropdown list.

  4. Select the Reference is required checkbox and click Save.

  5. Select Pick Only from the New Element Mode dropdown list.

  6. Click the New Property Binding icon on the Property Bindings tab to add a Property Bindings relationship for the Element Binding.

Graphical user interface, text, application, email

Description automatically generated

Figure 43.

  1. Click the New Property Binding icon and click the in the Referenced Property column. The Select Items Properties dialog appears.

Figure 44.

  1. Click the Run Search icon and select item_number from the property list.

  2. Click the Document Element Property column and click the to access the Search dialog.

  3. Enter Part Number in the Name column and click the Search icon.

  4. Select Part Number and click the icon to select it.

Figure 45.

Adding a View for a Content Type

Use the following procedure to add a new "View" for the Parts Warehouse Content Type:

  1. Right click the View folder and select Add View from the context menu. The Select ItemType dialog appears:

Figure 46.

  1. Click OK. The Tabular View page appears.

Figure 47.

  1. Enter Part Warehouse View in the Name field and click Save.

  2. Expand the Part Warehouse View tree and right-click Columns.

  3. Select Add Column from the context menu. The tabular View Column window appears.

Graphical user interface, application

Description automatically generated

Figure 48.

  1. Enter Zone Number in the Header Title field.

  2. Select Zone Number from the dropdown list in the Mapped Properties field.

  3. Enter 300 in the Initial Width field and click Save.

  4. Right click 1: Zone Number and select Add Column from the context menu to add another tabular view.

  5. Enter Place Number in the Header Title and Mapped Properties fields.

  6. Enter 300 in the Initial Width field and click Save.

  7. Right click on the Place Number column and select Add column from the context menu.

  8. Enter Part Number in the Header Title and Mapped Property fields.

  9. Enter 300 in the Initial Width field and click Save.

Graphical user interface, application

Description automatically generated

Figure 49.

  1. Save, Unclaim and close Parts Warehouse Content Type.

Adding an "OnFormPopulate" Event and Name Property

  1. Select Administration-> Forms. The following menu appears:

Figure 50.

  1. Click Search Forms. The Form Search grid appears.

Figure 51.

  1. Open the Parts Warehouse form and click  to claim the form for editing.

  1. Select the Form Event tab and click the Add Methods icon . The Search dialog box appears.

  2. Search for and select the cmf_ShowContentType method. It appears in the Name column.

  3. Click the cell in the Event column and select the onFormPopulated event.

  4. Add the Name property to the form (if it does not already exist).

Figure 52.

  1. Save, Unclaim and Close the Form.

Checking the Metadata Configuration

  1. Go to Administration>ItemTypes in the TOC and select Search ItemTypes. The ItemTypes search grid appears.

  2. Select Parts Warehouse and click Edit.

  1. Click the Views tab, select Create Related from the dropdown list. Click the Create Item icon to add a view named “Warehouse 1” and save.

  2. Then go to “View” using the sidebar button. You should see the result of metadata configuration.

Figure 53.

Configuration is completed.